package com.lagou.dao;

import com.lagou.pojo.User;

import java.util.List;

public interface IUserDao {
    //查询所有
    public List<User> findAll();

    //查询一个
    public User findByCondition(User user);

    //添加用户
    public void addUser(User user);

    //更改用户
    public void updateUser(User user);

    //删除用户
    public void deleteUserById(User user);
}
